package com.tust.service;

import com.tust.domain.Teacher;

import java.util.Date;
import java.util.List;

public interface TeacherService {
    int insertTeacher(Teacher teacher);
    int deleteTeacher(String teacherNum);
    int updateTeacher(String oldTeacherNum, Teacher teacher);
    List<Teacher> selectTeacherByTeacherNum(String teacherNum);
    List<Teacher> selectTeacherByTeacherName(String teacherName);
    List<Teacher> selectTeacherByTeacherSex(String teacherSex);
    List<Teacher> selectTeacherByTeacherTitle(String teacherTitle);
    List<Teacher> selectTeacherByTeacherEducation(String teacherEducation);
    List<Teacher> selectTeacherByTeacherBirthday(String teacherBirthday);
    List<Teacher> selectTeacherByTeacherDepartment(String teacherDepartment);
    List<Teacher> selectTeacherAll();
}
